package org.ccay.core.util.exception;

import org.ccay.core.exception.ApplicationException;

/**
 * 操作超时
 * 
 * @since 2013年8月6日
 */
public class TimeoutException extends ApplicationException {

	private static final String TIMEOUT_CODE = "ccay.core.00010003";
	private static final long serialVersionUID = 32575715138423088L;
	
	/**
	 * 创建异常
	 * @param errorCode
	 * @param innerException
	 */
	public TimeoutException(String errorCode, Throwable originalException) {
		super(errorCode, originalException);
	}

	/**
	 * @param originalException
	 */
	public TimeoutException(Throwable originalException) {
		super(TIMEOUT_CODE, originalException);
	}
}
